package team.newexcellence.tsfitness.dao;

import org.springframework.stereotype.Repository;
import team.newexcellence.tsfitness.pojo.MyProject;
import team.newexcellence.tsfitness.pojo.Project;

import java.util.List;
@Repository
public interface ProjectDao {
    public List<Project> lookAllProject() throws Exception;

    public List<Project> chooseProject(String projectCategory) throws Exception;

    public Boolean addProject(int projectID,int userID) throws Exception;

    public MyProject lookMyProject(int userID) throws Exception;

    public String viewProjectVideo(int projectID) throws Exception;

    public Project findProjectByID(int projectID) throws Exception;

    public Integer countSportTime(int projectID) throws Exception;
}
